package com.myProject.serves;

import com.github.pagehelper.PageInfo;
import com.myProject.bean.TExpert;

import java.util.List;

public interface ExpertSev {
    List<TExpert> getAllExpert();

    List<TExpert> getExpertList(TExpert tExpert);

    PageInfo<TExpert>showExpertPage(int pageNo,int pageSize,TExpert tExpert);

    boolean addExpert(TExpert tExpert);

    boolean deleteExpert(TExpert tExpert);

    boolean updateExpert(TExpert tExpert);
}
